package com.pro.service;

import com.pro.pojo.JsMicrocircle;

import java.util.List;

/**
 * ClassName:JsMicrocircleService
 * Package:com.pro.service
 * Description:
 *
 * @Date:2022/1/7 11:27
 * @Author: ZPT
 */
public interface JsMicrocircleService {
    /**
     * @author ZPT
     * @date 2022/2/8 14:56
     * @content :查询微圈数据
     */
    List<JsMicrocircle> getMicrocircleTable(Integer acticleCategroyId, Integer page, Integer limit, String artcleTitle, String nickname, String account);

    /**
     * @author ZPT
     * @date 2022/1/7 14:46
     * @content :微圈的收藏量
     */
    int colCount(Integer microcircleId);

    /**
     * @author ZPT
     * @date 2022/1/8 11:53
     * @content :微圈的删除
     */
    Boolean deleteMicrocircle(Integer microcircleId, Integer userId);

    /**
     * @author ZPT
     * @date 2022/1/8 12:22
     * @content :根据id查询微圈数据
     */
    JsMicrocircle getMicrocircleById(Integer microcircleId, Integer userId);

    /**
     * @author ZPT
     * @date 2022/2/8 19:18
     * @content :微圈数量
     */
    Integer getCount(Integer acticleCategroyId, String artcleTitle, String nickname, String account);

}
